﻿var updateForeBackground = function (r,g,b) {
    var color=new SolidColor();
    color.rgb.red=r;
    color.rgb.green=g;
    color.rgb.blue=b;
    app.foregroundColor=color;
    
}

var saveSelectColor = function () {
    return app.foregroundColor.rgb.red+"|"+app.foregroundColor.rgb.green+"|"+app.foregroundColor.rgb.blue;
}